package com.iknight.theory.api;

import com.iknight.theory.model.TELineModel;
import com.iknight.theory.model.TELineSegModel;
import com.iknight.theory.model.TETgModel;
import com.iknight.theory.model.TETranModel;
import net.sf.json.JSONObject;

import java.util.List;
import java.util.Map;

/**
 * @author JeryZym
 * Created by jeryzym on 2017/9/20.
 */
public interface TheoryCommService {
    /**
     * 分析解析Excel
     *
     * @param list
     * @return
     */
    Object analyzeParsedExcel(List<JSONObject> list);

    /**
     * 分析解析的台区信息
     *
     * @param model
     * @param dataSet
     * @return
     */
    Object analyzeParsedTGInfo(TETgModel model, JSONObject dataSet);

    /**
     * @param model
     * @param dataSet
     * @return
     */
    Object analyzeParsedTranInfo(TETranModel model, JSONObject dataSet);

    /**
     * @param model
     * @param dataSet
     * @return
     */
    Object analyzeParsedLineInfo(TELineModel model, JSONObject dataSet);

    /**
     * @param line_id
     * @param positions
     * @param segments
     * @param dataSet
     * @return
     */
    Object analyzeParsedLineSegInfo(String line_id, Map<String, String> positions, Map<String, String> segments, JSONObject dataSet);

    /**
     * @param positions
     * @param containers
     * @param dataSet
     * @return
     */
    Object analyzeParsedLineConsInfo(String line_id, Map positions, Map containers, JSONObject dataSet);

    /**
     * @param tg_id
     * @param recordDate
     * @param containers
     * @param dataSet
     * @return
     */
    Object analyzeParsedConsInfo(String tg_id, String recordDate, Map containers, JSONObject dataSet);

    /**
     * @param tran_id
     * @param dataSet
     * @return
     */
    Object analyzeParsedCurrentInfo(String tran_id, JSONObject dataSet);
}
